package com.example.conf.teea;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpdcn
 * @since 2020-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_region")
public class SysRegionEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(comment = "主键id")
    @TableId(value = "id")
    private String id;

    @Column(comment = "父id")
    private String parentId;

    @Column(comment = "名字")
    private String name;

    @Column(comment = "类型")
    private Integer type;

    @Column(comment = "全称")
    private String mergerName;

    @Column(comment = "简称")
    private String shortName;

    @Column(comment = "完整姓名")
    private String mergerShortName;

    @Column(comment = "城市code")
    private String cityCode;

    @Column(comment = "压缩code")
    private String zipCode;

    @Column(comment = "pinyin")
    private String pinyin;

    @Column(comment = "jianpin")
    private String jianpin;

    @Column(comment = "firstChar")
    private String firstChar;

    @Column(comment = "lng")
    private String lng;

    @Column(comment = "lat")
    private String lat;

    @Column(comment = "poorFlag")
    private String poorFlag;

}
